package com.aidex.system.service.impl;

import java.util.List;
import com.github.pagehelper.PageInfo;
import com.aidex.common.core.domain.entity.SysUser;
import com.aidex.common.core.domain.entity.SysDept;
import com.aidex.common.core.service.BaseServiceImpl;
import com.aidex.framework.cache.DeptUtils;
import com.aidex.framework.cache.UserUtils;
import org.springframework.stereotype.Service;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.aidex.system.mapper.VCsisBusinessReleaseMapper;
import com.aidex.system.domain.VCsisBusinessRelease;
import com.aidex.system.service.VCsisBusinessReleaseService;
import org.springframework.transaction.annotation.Transactional;

/**
 * 国内放行数据Service业务层处理
 * @author wll
 * @email wll
 * @date 2021-10-14
 */
@Service
@Transactional(readOnly = false)
public class VCsisBusinessReleaseServiceImpl extends BaseServiceImpl<VCsisBusinessReleaseMapper, VCsisBusinessRelease> implements VCsisBusinessReleaseService
{
    private static final Logger log = LoggerFactory.getLogger(VCsisBusinessReleaseServiceImpl.class);

    /**
     * 获取单条数据
     * @param vCsisBusinessRelease 国内放行数据
     * @return 国内放行数据
     */
    @Override
    public VCsisBusinessRelease get(VCsisBusinessRelease vCsisBusinessRelease)
    {
        VCsisBusinessRelease dto = super.get(vCsisBusinessRelease);
        return dto;
    }

    /**
     * 获取单条数据
     * @param id 国内放行数据id
     * @return 国内放行数据
     */
    @Override
    public VCsisBusinessRelease get(String id)
    {
        VCsisBusinessRelease dto = super.get(id);
        return dto;
    }


    /**
     * 查询国内放行数据列表
     * @param vCsisBusinessRelease 国内放行数据
     * @return 国内放行数据
     */
    @Override
    public List<VCsisBusinessRelease> findList(VCsisBusinessRelease vCsisBusinessRelease)
    {
        return super.findList(vCsisBusinessRelease);
    }

    /**
     * 分页查询国内放行数据列表
     * @param vCsisBusinessRelease 国内放行数据
     * @return 国内放行数据
     */
    @Override
    public PageInfo<VCsisBusinessRelease> findPage(VCsisBusinessRelease vCsisBusinessRelease)
    {
        return super.findPage(vCsisBusinessRelease);
    }

    /**
     * 保存国内放行数据
     * @param vCsisBusinessRelease
     * @return 结果
     */
    @Override
    public boolean save(VCsisBusinessRelease vCsisBusinessRelease)
    {
        return super.save(vCsisBusinessRelease);
    }


    /**
     * 删除国内放行数据信息
     * @param vCsisBusinessRelease
     * @return 结果
     */
    @Override
    public boolean remove(VCsisBusinessRelease vCsisBusinessRelease)
    {
        return super.remove(vCsisBusinessRelease);
    }

    /**
     * 批量删除国内放行数据
     * @param ids 需要删除的国内放行数据ID
     * @return 结果
     */
    @Transactional(readOnly = false)
    @Override
    public int deleteVCsisBusinessReleaseByIds(String[] ids)
    {
        return mapper.deleteVCsisBusinessReleaseByIds(ids);
    }

}
